﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Razor.Models;

namespace Razor.Controllers
{
    public class ProductController : Controller
    {
        //
        // GET: /Product/

        public ActionResult Index()
        {
            var p = new Product() { 
                Name = "Strxio",
                Category = "Fod",
                Description = "Delicious",
                ProductID = 001,
                Price = 23
            };

            ViewBag.ProcessingTime = DateTime.Now;
            return View(p);
        }

    }
}
